package com.example.infrastructure.persistence.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.infrastructure.common.BasePO;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统配置表 PO
 *
 * @author wangal
 * @since 2025-07-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("system_configs")
@Schema(name = "SystemConfigs", description = "系统配置表")
public class SystemConfigs extends BasePO {

    private static final long serialVersionUID = 1L;

    @Schema(description = "配置键")
    @TableField("config_key")
    private String configKey;

    @Schema(description = "配置值")
    @TableField("config_value")
    private String configValue;

    @Schema(description = "配置描述")
    @TableField("config_desc")
    private String configDesc;

    @Schema(description = "配置类型：string,number,boolean,json")
    @TableField("config_type")
    private String configType;

    @Schema(description = "是否系统配置：0否，1是")
    @TableField("is_system")
    private Byte isSystem;

    @Schema(description = "租户编号")
    @TableField("tenant_id")
    private Long tenantId;


}